package com.april.pattern.behavioral.strategy;

import org.junit.jupiter.api.Test;

/**
 * @author April
 * @version V1.0.0
 * @date 2019/07/09 09:38
 * @description 策略模式
 */
public class StrategyTest {
    @Test
    public void strategyTest() {
        PromotionActivity promotionActivity = new PromotionActivity(new FullReductionPromotionStrategy());
        promotionActivity.executePromotionStrategy();
    }
}
